package com.pe.pgn.clubpgn.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pe.pgn.clubpgn.dao.WizardArticuloDao;
import com.pe.pgn.clubpgn.domain.beans.BNArticulo;
import com.pe.pgn.clubpgn.service.WizardArticuloService;

@Service("wizardArticuloService")
public class WizardArticuloServiceImpl extends GenericManagerImpl<BNArticulo, Long> implements
WizardArticuloService {

	@Autowired
	private WizardArticuloDao warticuloDao;
	
	
	public List<Map<String, Object>> buscarArticulosDevolucion(
			String deArticulo, String coCodigoArticulo, Long coCategoria,
			String stManejaSerie, String stManejaStock, Long coAlmacen) {

		return warticuloDao.buscarArticulosDevolucion(deArticulo, coCodigoArticulo, coCategoria, stManejaSerie, stManejaStock, coAlmacen);
	}

	
	public BNArticulo recuperaArticulo(String coCodigoArticulo,
			Long coAlmacen) {
		return warticuloDao.recuperaArticulo(coCodigoArticulo, coAlmacen);
	}



	
	

}
